package com.yh.rbac.dao;

import com.yh.rbac.entity.RolePermission;
import java.util.List;

public interface RolePermissionMapper {
    int insert(RolePermission record);

    List<RolePermission> selectAll();
    
    List<RolePermission> selectByRid(Long rid) ;
    
    int deleteByRid(Long rid) ;
    int deleteByRidOrPid(Long rid, Long pid) ;
}